package com.justgame.project.service.just.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.justgame.project.cloud.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
*
* 游戏信息关注表
*
* @tableName just_game_attention
* @author Zwb
*/
@Data
@TableName("just_game_attention")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="JustGameAttention对象", description="游戏信息关注表")
public class JustGameAttention extends BaseEntity {
    /**
     * 游戏信息ID
     */
    @ApiModelProperty(value = "游戏信息ID")
    private Long gameInfoId;

    /**
     * 来源
     */
    @ApiModelProperty(value = "来源")
    private Target target;

    /**
     * 来源 枚举值
     */
    public enum Target{
        /**
         * 首页
         */
        HOME,
        /**
         * 游戏详情页
         */
        GAME_DETAIL
    }

}
